package com.mes.cloud.dto;

import com.mes.cloud.util.ExcelAttribute;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <BC基础表>
 *
 * @author xhy
 * @version 1.0
 * @date 2019/05/09 16:00
 */
@ApiModel(value = "BmeBcDTO", description = "BC信息")
@Data
public class BmeBcDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @ApiModelProperty(value = "编号", dataType = "String")
    @ExcelAttribute(name = "编号", column = "A")
    @NotNull
    private String id;
    /**
     *
     */
    @ApiModelProperty(value = "启用", dataType = "Long")
    @ExcelAttribute(name = "启用", column = "B")
    private Long isEnable;
    /**
     * 状态：0=普通，1=禁用
     */
    @ApiModelProperty(value = "状态", dataType = "Long")
    @ExcelAttribute(name = "状态", column = "C")
    private Long status;
    /**
     * 名称编码
     */
    @NotNull
    @ApiModelProperty(value = "名称编码", dataType = "String")
    @ExcelAttribute(name = "名称编码", column = "D")
    private String code;
    /**
     * 名称
     */
    @NotNull
    @ApiModelProperty(value = "名称", dataType = "String")
    @ExcelAttribute(name = "名称", column = "E")
    private String name;
    /**
     * 分类
     */
    @ApiModelProperty(value = "分类", dataType = "String")
    @ExcelAttribute(name = "分类", column = "F")
    private String type;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", dataType = "String")
    @ExcelAttribute(name = "备注", column = "G")
    private String ds;
    /**
     * 主表名称
     */
    @NotNull
    @ApiModelProperty(value = "主表名称", dataType = "String")
    @ExcelAttribute(name = "主表名称", column = "H")
    private String bcTable;
    /**
     * 模块
     */
    @ApiModelProperty(value = "模块", dataType = "String")
    @ExcelAttribute(name = "模块", column = "I")
    private String bcModel;
    /**
     * 过滤
     */
    @ApiModelProperty(value = "过滤", dataType = "String")
    @ExcelAttribute(name = "过滤", column = "J")
    private String bcFilter;
    /**
     * 内存固化
     */
    @ApiModelProperty(value = "内存固化", dataType = "String")
    @ExcelAttribute(name = "内存固化", column = "K")
    private String bcMemory;
    /**
     * 拦截器
     */
    @ApiModelProperty(value = "拦截器", dataType = "String")
    @ExcelAttribute(name = "拦截器", column = "L")
    private String bcIntercept;
    /**
     * 数据源
     */
    @NotNull
    @ApiModelProperty(value = "数据源", dataType = "String")
    @ExcelAttribute(name = "数据源", column = "M")
    private String bcDatasource;
    /**
     * sql视图
     */
    @ApiModelProperty(value = "SQL", dataType = "String")
    @ExcelAttribute(name = "SQL", column = "N")
    private String bcQuerysql;
    /**
     * 父编号
     */
    /**
     * 父编号
     */
    @ApiModelProperty(value = "父编号", dataType = "String")
    @ExcelAttribute(name = "父编号", column = "O")
    private String pid;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人", dataType = "String")
    @ExcelAttribute(name = "创建人", column = "P")
    private String crtby;
    /**
     * 创时间
     */
    @ApiModelProperty(value = "创建时间", dataType = "Timestamp")
    @ExcelAttribute(name = "创建时间", column = "Q")
    private Timestamp crtdate;
    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人", dataType = "String")
    @ExcelAttribute(name = "修改人", column = "R")
    private String updby;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", dataType = "Timestamp")
    @ExcelAttribute(name = "修改时间", column = "S")
    private Timestamp upddate;
    /**
     * 服务调用的URL
     */
    @ApiModelProperty(value = "服务调用的URL", dataType = "String")
    @ExcelAttribute(name = "服务调用的URL", column = "T")
    private String serviceUrl;
    /**
     * 备用字段1
     */
    @ApiModelProperty(value = "备用字段1", dataType = "String")
    @ExcelAttribute(name = "备用字段1", column = "U")
    private String text1;
    /**
     * 备用字段2
     */
    @ApiModelProperty(value = "备用字段2", dataType = "String")
    @ExcelAttribute(name = "备用字段2", column = "V")
    private String text2;
    /**
     * 备用字段3
     */
    @ApiModelProperty(value = "备用字段3", dataType = "String")
    @ExcelAttribute(name = "备用字段3", column = "W")
    private String text3;
    /**
     * 备用字段4
     */
    @ApiModelProperty(value = "备用字段4", dataType = "String")
    @ExcelAttribute(name = "备用字段4", column = "X")
    private String text4;
    /**
     * 备用字段5
     */
    @ApiModelProperty(value = "备用字段5", dataType = "String")
    @ExcelAttribute(name = "备用字段5", column = "Y")
    private String text5;
}
